package cn.pn.project.mapper.schedule;

import cn.pn.project.pojo.schedule.Seatcommodity;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;
import java.util.List;

public interface SeatcommodityDao {

    /**
     * 根据skuid查询座位信息
     * @param skuId
     * @return
     * @throws SQLException
     */
    public List<Seatcommodity> getCommodityBySkuId(@Param("skuId")String skuId) throws SQLException;

    /**
     * 新增商品座位记录（谢耀翔）
     * @param seatcommodity
     * @return
     * @throws Exception
     */
    public Integer insertSeatcommodity(Seatcommodity seatcommodity)throws Exception;
}
